package cn.tedu.smartos.baseuser.pojo.dto;

import lombok.Data;

import java.util.List;

@Data
public class UserSaveParam {
    private Long userId;
    private String username;
    private String password;
    private String realName;
    private String phone;
    private String email;
    private String avatarUrl;
    private String idCard;
    private Integer gender;
    private String birthDate;
    private String address;
    private Integer userType;
    private Integer status;
    private String faceToken;
    private List<String> idCardUrl; // 接收身份证图片URL列表

    // 新增字段：关联老人ID 和 关系类型
    private Long elderlyUserId;
    private String relationType;

    // Getter and Setter for new fields
    public Long getElderlyUserId() {
        return elderlyUserId;
    }

    public void setElderlyUserId(Long elderlyUserId) {
        this.elderlyUserId = elderlyUserId;
    }

    public String getRelationType() {
        return relationType;
    }

    public void setRelationType(String relationType) {
        this.relationType = relationType;
    }
}
